<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Untitled Page</title>
	<script type="text/javascript">

function CancelEvent( e )
{
	if ( e && e.preventDefault )
		e.preventDefault() ;
}

	</script>
</head>
<body>
	<div>
		Click in the field. Then click on the following button or in the text in red. The
		field must no loose the focus.<br />
		<br />
		<input type="button" value="Click me" onmousedown="return CancelEvent( event );" />
	</div>
	<br />
	<div style="color: Red" onmousedown="return CancelEvent( event );">
		Click me
	</div>
	<br />
	<input size="80" value="This field must not loose the focus" />
</body>
</html>
